SET QUOTED_IDENTIFIER ON
GO
SET ANSI_NULLS ON
GO
CREATE VIEW dbo.vwbLogros
AS
SELECT     dbo.tb_INDICADOR.Descripcion, dbo.tb_LOGROS.indicador_id AS Indicador, dbo.tb_LOGROS.anio_logro AS Año
FROM         dbo.tb_LOGROS INNER JOIN
                      dbo.tb_INDICADOR ON dbo.tb_LOGROS.indicador_id = dbo.tb_INDICADOR.indicador_id
GO
GRANT SELECT ON  [dbo].[vwbLogros] TO [MCEEjecutivo]
GRANT SELECT ON  [dbo].[vwbLogros] TO [SoloVer]
GO
